package com.stgy.lease.web.api.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.stgy.lease.model.domain.ViewAppointment;
import com.stgy.lease.web.api.vo.AppointmentDetailVo;
import com.stgy.lease.web.api.vo.AppointmentItemVo;
import jakarta.servlet.http.HttpServletRequest;

import java.util.List;

/**
* @author lingx
* @description 针对表【view_appointment(预约看房信息表)】的数据库操作Service
* @createDate 2024-08-28 11:00:30
*/
public interface ViewAppointmentService extends IService<ViewAppointment> {

    //查询个人预约看房列表
    List<AppointmentItemVo> listItem(String token, HttpServletRequest request);

    //根据ID查询预约详情信息
    AppointmentDetailVo getDetailById(Long id);
}
